﻿namespace Usr.Api.Models.Consts
{
    public class CachingConsts : CommonCachingConsts
    {
        //cache prefix
        public const string UserValidatedInfoKeyPrefix = "usr:validatedinfo";

        //bloomfilter
        public const string BloomfilterOfAccountsKey = "usr:bloomfilter:accouts";
        public const string BloomfilterOfCacheKey = "usr:bloomfilter:cachekeys";

        //menu
        public const string MenuListCacheKey = "usr:menus:list";
        public const string MenuTreeListCacheKey = "usr:menus:tree";
        public const string MenuRelationCacheKey = "usr:menus:relation";
        public const string MenuCodesCacheKey = "usr:menus:codes";

        //dept
        public const string DetpListCacheKey = "usr:depts:list";
        public const string DetpTreeListCacheKey = "usr:depts:tree";
        public const string DetpSimpleTreeListCacheKey = "usr:depts:tree:simple";

        //role
        public const string RoleListCacheKey = "usr:roles:list";
    }
}
